package com.demo.common.core.domain;

import lombok.Data;

import java.util.Set;

/**
 * @author MyPC
 */
@Data
public class SysRoleBo {

    private Long roleId;
    private String roleName;
    private String roleKey;
    private Long roleSort;
    private String dataScope;
    private boolean menuCheckStrictly;
    private boolean deptCheckStrictly;
    private String status;
    /**
     * 用户是否存在此角色标识 默认不存在
     */
    private boolean flag = false;
    /**
     * 菜单组
     */
    private Long[] menuIds;

    /**
     * 部门组（数据权限）
     */
    private Long[] deptIds;

    private Set<String> permissions;
}
